From: Matthias Clasen Date: Thu, 3 Jul 2008 17:37:07 +0000 (+0000) Subject: One more X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1~1^2~428^2^2~31727 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5d0421f6c3de152a652b0ce8c101790a9d1f15bd;p=gtk4.git One more svn path=/trunk/; revision=20747 --- diff --git a/ChangeLog b/ChangeLog index 6a3804851a..8457c7aa02 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,7 +3,8 @@ Bug 535498 – Printing demo broken * demos/gtk-demo/printing.c: Use monospace as font name, - not mono. Patch by Yevgen Muntyan. + not mono. Also use the right advance when moving from line to line. + Patch by Yevgen Muntyan. 2008-07-03 Matthias Clasen diff --git a/demos/gtk-demo/printing.c b/demos/gtk-demo/printing.c index 03997174d6..6d27ac0358 100644 --- a/demos/gtk-demo/printing.c +++ b/demos/gtk-demo/printing.c @@ -123,7 +123,7 @@ draw_page (GtkPrintOperation *operation, { pango_layout_set_text (layout, data->lines[line], -1); pango_cairo_show_layout (cr, layout); - cairo_rel_move_to (cr, 0, text_height); + cairo_rel_move_to (cr, 0, data->font_size); line++; }